package com.zlf.intercepting.filter;

import com.zlf.intercepting.filter.impl.AuthenticationFilter;
import com.zlf.intercepting.filter.impl.DebugFilter;

public class InterceptingFilterDemo {
		public static void main(String[] args) {
				FilterManager filterManager = new FilterManager(new Target());
				filterManager.setFilter(new AuthenticationFilter());
				filterManager.setFilter(new DebugFilter());

				Client client = new Client();
				client.setFilterManager(filterManager);
				client.sendRequest("HOME");
		}
}
